﻿<Window x:Class="bitMail.Forms.Dziennik"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Dziennik" Height="398.507" Width="467.164">
    <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Margin="0,152,0,0">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="7*"/>
            <ColumnDefinition Width="2*"/>
        </Grid.ColumnDefinitions>
        <Calendar SelectedDatesChanged="Calendar_SelectedDatesChanged"
            HorizontalAlignment="Center"  Margin="71,-152,0,0" VerticalAlignment="Top" Height="164" Width="204"/>
        <DataGrid Name="DziennikGrid" HorizontalGridLinesBrush="LightGray"  VerticalGridLinesBrush="LightGray"
                  AutoGenerateColumns="False" 
                  CanUserAddRows="False" Margin="0,17,0,0" Grid.ColumnSpan="2">
            <DataGrid.Columns>
                <DataGridTextColumn Binding="{Binding DailyId}" Header="ID" IsReadOnly="True"
                                    x:Name="DgrId"/>
                <DataGridTextColumn Binding="{Binding DailyDate}" IsReadOnly="True" Header="Data Zdarzenia"
                                    x:Name="DgrName"/>
                <DataGridTextColumn Binding="{Binding DailyText}" IsReadOnly="True" Header="Tresc" Width="200"
                                    x:Name="DgrText"/>
            </DataGrid.Columns>
        </DataGrid>
    </Grid>
</Window>
